package chixing.day05;

public class Video {
    private String videoName;
    private float videoPrice;

    public String getVideoName() {
        return videoName;
    }

    public void setVideoName(String videoName) {
        this.videoName = videoName;
    }

    public float getVideoPrice() {
        return videoPrice;
    }

    public void setVideoPrice(float videoPrice) {
        this.videoPrice = videoPrice;
    }

    public Video(String videoName, float videoPrice) {
        this.videoName = videoName;
        this.videoPrice = videoPrice;
    }

    @Override
    public String toString() {
        return "Video{" +
                "videoName='" + videoName + '\'' +
                ", videoPrice=" + videoPrice +
                '}';
    }
}
